package com.example.bridge_demo;

public class WxPayChannel extends PayChannel {

    public WxPayChannel(IPayMode payMode) {
        super(payMode);
    }

    @Override
    public void transfer(String uid, String money, String orderId) {
        boolean security = payMode.security();
        if (security) {
            System.out.println("微信验证成功 = ");
        } else {
            System.out.println("微信验证失败");
        }

    }
}
